Skip to content

feat: add TS011F_Socket with dynamic multi-gang and metering#12679

Open
hml96 wants to merge 1 commit into
Koenkk:masterfrom
hml96:ts011f-dynamic-multi-gang
Open

feat: add TS011F_Socket with dynamic multi-gang and metering#12679
hml96 wants to merge 1 commit into
Koenkk:masterfrom
hml96:ts011f-dynamic-multi-gang

Conversation

@hml96

@hml96 hml96 commented Jul 13, 2026

Copy link
Copy Markdown

Add a new TS011F_Socket definition matched by manufacturerName for multi-gang power monitoring sockets. Detects genOnOff endpoints at runtime: first endpoint stays unsuffixed (state), additional endpoints become CH2..CHN. Metering via m.electricityMeter(). Tuya-specific features (countdown per gang, power-outage memory, indicator mode, child lock, switch type) included.

Link to picture pull request: TODO

Add a new TS011F_Socket definition matched by manufacturerName for
multi-gang power monitoring sockets. Detects genOnOff endpoints at
runtime: first endpoint stays unsuffixed (state), additional endpoints
become CH2..CHN. Metering via m.electricityMeter(). Tuya-specific
features (countdown per gang, power-outage memory, indicator mode,
child lock, switch type) included.

Restore the version-only fingerprints in TS011F_plug_3 (previously
removed) with priority:-1 so they remain lower priority than any
manufacturerName-based fingerprint (priority 0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant